package cn.org.qary.service.impl.abelianymph;

import cn.org.qary.dao.IProductMapper;
import cn.org.qary.entity.Product;
import cn.org.qary.service.impl.BaseServiceImpl;
import cn.org.qary.service.trait.abelianymph.ProductService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class ProductServiceImpl extends BaseServiceImpl<Product> implements ProductService {

    @Autowired
    IProductMapper productMapper;

    @Override
    public List<Product> searchByKeyWord(String keyword) {
        return productMapper.selectByLikeKeyWord(keyword);
    }


}
